﻿using Authority.IServices.Model.Role;
using Authority.PresentationModels.Role;

namespace Authority.WebAPI
{
    /// <summary>
    /// 路由模型映射
    /// </summary>
    public class RoleProfile : AutoMapper.Profile
    {
        /// <summary>
        /// 构造
        /// </summary>
        public RoleProfile()
        {
            CreateMap<AddRoleRequestModel, AddRoleModel>();
            CreateMap<EditRoleRequestModel, EditRoleModel>();
        }
    }
}
